NetworkVariable<T>

Class

To be used in conjunction with SpatialNetworkBehaviour. This allows you to define a variable that will be synchronized across the network.

Constructors

NetworkVariable()
NetworkVariable(T)
NetworkVariable(byte, T)

Creates a new network variable with a default value.

Methods

Bind(ISpaceObject, byte, string)

Called internally before Spawned is called.

ToString()

Returns a string that represents the current object.